class ObjectUtil:
    @staticmethod
    def copy_fields(dev_order, prod_order, fields_to_copy: []):
        """

        :param dev_order: 待被赋值的表
        :param prod_order:  带有数据的model
        :param fields_to_copy:
        :return:
        """
        for field in fields_to_copy:
            setattr(dev_order, field, getattr(prod_order, field))
